// eslint-disable-next-line @typescript-eslint/no-var-requires
const generateComp = require('./plopConfig/zsj/generateComp');

module.exports = (plop) => {
  plop.setHelper('upperCase', (text) => {
    const firstChar = text.charAt(0).toUpperCase();
    return firstChar + text.substring(1);
  });

  // create your generators here
  plop.setGenerator('comp', generateComp);
};
